/**
 * Copyright &copy; 2016-2017 <a href="https://www.lczyfz.com">联创智云</a> All rights reserved.
 */
package com.lczyfz.campusinfo.modules.creatjobmanage.service;

import com.lczyfz.campusinfo.common.persistence.Page;
import com.lczyfz.campusinfo.common.service.CrudService;
import com.lczyfz.campusinfo.modules.creatjobmanage.dao.CreatJobProjectDao;
import com.lczyfz.campusinfo.modules.creatjobmanage.entity.CreatJobProject;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 自带项目Service
 * @author zms
 * @version 2018-04-04
 */
@Service
@Transactional(readOnly = true)
public class CreatJobProjectService extends CrudService<CreatJobProjectDao, CreatJobProject> {

	public CreatJobProject get(String id) {
		return super.get(id);
	}
	
	public List<CreatJobProject> findList(CreatJobProject creatJobProject) {
		return super.findList(creatJobProject);
	}
	
	public Page<CreatJobProject> findPage(Page<CreatJobProject> page, CreatJobProject creatJobProject) {
		return super.findPage(page, creatJobProject);
	}
	
	@Transactional(readOnly = false)
	public void save(CreatJobProject creatJobProject) {
		super.save(creatJobProject);
	}
	
	@Transactional(readOnly = false)
	public void delete(CreatJobProject creatJobProject) {
		super.delete(creatJobProject);
	}
	
}